package cn.com.zpark.servlet_request;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @PackageName: cn.com.zpark.servlet_request
 * @ClassName: ServletRequestDemo05
 * @Description:
 * @author: RZS
 * @date: 2021/11/13  16:11
 */
@WebServlet("/srd5.do")
public class ServletRequestDemo05 extends HttpServlet {
    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("转发过来的");
        resp.getWriter().write("<h1>转发过来的,hhhhhhhhhhh</h1>");
    }
}
